package com.xteam.xnetworkdisk.sys.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.xteam.xnetworkdisk.utils.DateTimeUtil;
import lombok.Data;

/**
 * 
 * 
 * @author xiaozhiyong
 * @email xiaozhiyong03@gmail.com
 * @date 2024-08-09 22:08:10
 */
@Data
@TableName("file")
public class FileEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "file_id",type = IdType.AUTO)
	private Integer fileId;
	/**
	 * 
	 */
	private String fileName;
	/**
	 * 
	 */
	private Long fileSize;
	/**
	 * 
	 */
	private String fileKey;
	/**
	 * 
	 */
	private Integer folderId;
	/**
	 * 
	 */
	private Integer userId;
	/**
	 * 
	 */
	private Date createdAt;
	/**
	 * 
	 */
	private Date updatedAt;

	private String filePath;

	private Boolean isValid;

	private Integer fileType;
	/**
	 *
	 */
	private Boolean isFolder;

}
